package Server.dao;

import Server.entity.DataResources;
import Server.entity.Role;
import Server.entity.RolePermissions;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RolePermissionsDao extends JpaRepository<RolePermissions,String> {
    List<RolePermissions> findByRole(Role role);
}
